<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template.xhtml">
        
        <ui:define name="title">
            <h:outputText value="#{bundle['Service.RecoveryPass.MainPage']}"></h:outputText>
        </ui:define>
    
    
        <ui:define name="menu">
            <div class="block_menu">
                <h:form>
                    <div class="block_menu_left">
                        <h:commandLink action="/index" value="#{bundle['Menu.Main']}"/>
                    </div>
                    <div class="block_menu_left">
                        <h:commandLink action="/notes/List" value="#{bundle['Menu.Notes']}"/>
                    </div>

                    <div class="block_menu_right">
                        <h:commandLink action="/authenticate/Login" value="#{bundle['Menu.Login']}"/>
                    </div>
                </h:form>
            </div>
        </ui:define>
    
    
    
        <ui:define name="body">
            <h:messages errorClass="error" infoClass="info" />
        <center>
        <div style="padding-top: 165px;">
        <h:form>

            <h:panelGrid columns="2" columnClasses="registrationFormFirst,registrationFormSecond" >
                
                <h:outputLabel value="#{bundle['Service.RecoveryPass.Label.Email']}" 
                               style="font: 16pt 'Segoe WP'; color: #707070;"/>
                
                <h:inputSecret maxlength="25" required="true"
                    style="width: 180px; height: 30px; padding-left: 5px; font: 12pt 'Segoe WP'; color: #707070;
                        background-color: #ffffff; border: 2px solid #707070;"  
                        value="#{userManagerController.email}" 
                    title="#{bundle['Service.RecoveryPass.Title.Email']}"
                    requiredMessage="#{bundle['Service.RecoveryPass.RM.Email']}"/>
                </h:panelGrid>
            
            <h:panelGrid columns="2" columnClasses="registrationFormFirstButtonReset,registrationFormSecondButtonRegistration" >
                <h:commandButton type="reset" style="width: 100px; height: 45px; font: 12pt 'Segoe WP'; font-weight: bold; 
                                         color: #505050; background-color: #f0f0f0; border: 3px solid #505050;" 
                                 value="#{bundle['Service.RecoveryPass.LabelButton.Reset']}"/>
                
                <h:commandButton type="submit" style="width: 190px; height: 45px; font: 16pt 'Segoe WP'; font-weight: bold; 
                                         color: #505050; background-color: #f0f0f0; border: 3px solid #505050;" 
                                 value="#{bundle['Service.RecoveryPass.LabelButton.RecoveryPass']}"
                                 action="#{userManagerController.recoveryPassword()}"/>
            </h:panelGrid>
            
        </h:form>
        </div>

        </center>
        </ui:define>
    </ui:composition>
</html>

